package com.haocang.szgm.utils.config;

import net.tsz.afinal.FinalDb;

/**
 * 创建时间：2019/3/4
 * 编 写 人：ShenC
 * 功能描述：参数设置类
 */

public class Config {

    public static String APP_Code = "SZGM";
    public static String LogFlag = "SZGM_Log";

    public static FinalDb db;
    public static int db_version = 1;//数据库版本
    public static String Map_ClientId = "uK0DxqYT0om1UXa9";

    public static final int PAGE_SHOW_LIMIT = 15;//列表固定显示数量
    public static int PAGE_LIMIT = 0;

//    现场内网
//    public static String ip ="http://172.19.2.111";//服务ip地址
//    public static String host = ip+":8020";//服务ip地址
//    public static String HUB_URL = ip +":8081/signalr/hubs";//地址
//    public static String MAPBASEURL = "http://172.19.129.8:6080/arcgis/rest/services/SZSW_TYFW/Basemap_dem/MapServer";
//    public static String MAPPIPEURL = "http://172.19.129.8:6080/arcgis/rest/services/SZSW_TYFW/pipe/MapServer";
//    public static String SZWeatherURL = ip +":8020/Web/SZWeatherInfo/GetNext10d";

//    测试服务器
//    public static String ip = "http://192.168.2.118";//服务ip地址
//    public static String host = ip + ":8020";//服务ip地址
//    public static String HUB_URL = ip + ":8081/signalr/hubs";//地址
//    public static String MAPBASEURL = ip +":6080/arcgis/rest/services/SZSW_TYFW/Basemap_dem/MapServer";
//    public static String MAPPIPEURL = ip +":6080/arcgis/rest/services/SZSW_TYFW/pipe/MapServer";
//    public static String SZWeatherURL = ip +":8020/Web/SZWeatherInfo/GetNext10d";


//    本地测试
//    public static String ip = "http://172.19.134.33";//服务ip地址
//    public static String host = ip + ":8021";//服务ip地址
//    public static String HUB_URL = "http://172.19.2.111:8081/signalr/hubs";//地址
//    public static String MAPBASEURL = "http://172.19.129.8:6080/arcgis/rest/services/SZSW_TYFW/Basemap_dem/MapServer";
//    public static String MAPPIPEURL = "http://172.19.129.8:6080/arcgis/rest/services/SZSW_TYFW/pipe/MapServer";
//    public static String SZWeatherURL = "http://218.17.166.211:8020/Web/SZWeatherInfo/GetNext10d";


    //    现场外网代理
/*    public static String ip = "http://kaifa.hc-yun.com";//测试
    public static String host = ip + ":33027";*/
    public static String ip = "http://218.17.166.211";//正式
    public static String host = ip + ":8020";
    public static String HUB_URL = host + "/signalr/hubs";//地址
    public static String MAPBASEURL = host + "/arcgis/rest/services/SZSW_TYFW/Basemap_dem/MapServer";
    public static String MAPPIPEURL = host + "/arcgis/rest/services/SZSW_TYFW/pipe/MapServer";
    public static String SZWeatherURL = host + "/Web/SZWeatherInfo/GetNext10d";

}
